package com.hc.cosmetichospital.pojo;

import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 客户
 * @author ASUS
 *
 */
public class Clients {
    private Integer clid;

    private String clname;//客户姓名

    private String clcno; //客户编号

    private Integer clsource; //客户来源 1现场、2电话

    private String cliphone; //客户电话

    private String clsex; //性别

    private String clidcard; //身份证号码

    private Integer cltype; //客户类型 1普通 2会员

    private Integer clstatus; //成交状态 0洽谈 1成功 2失败

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date clregisterdate; //登记日期

    private Staff staff; //负责人员，当前登录管理员账号编号
    
    private Member meber; //会员信息

    private String clremark; //备注

    public Integer getClid() {
        return clid;
    }

    public void setClid(Integer clid) {
        this.clid = clid;
    }

    public String getClname() {
        return clname;
    }

    public void setClname(String clname) {
        this.clname = clname == null ? null : clname.trim();
    }

    public String getClcno() {
        return clcno;
    }

    public void setClcno(String clcno) {
        this.clcno = clcno == null ? null : clcno.trim();
    }

    public Integer getClsource() {
        return clsource;
    }

    public void setClsource(Integer clsource) {
        this.clsource = clsource;
    }

    public String getCliphone() {
        return cliphone;
    }

    public void setCliphone(String cliphone) {
        this.cliphone = cliphone == null ? null : cliphone.trim();
    }

    public String getClsex() {
        return clsex;
    }

    public void setClsex(String clsex) {
        this.clsex = clsex == null ? null : clsex.trim();
    }

    public String getClidcard() {
        return clidcard;
    }

    public void setClidcard(String clidcard) {
        this.clidcard = clidcard == null ? null : clidcard.trim();
    }

    public Integer getCltype() {
        return cltype;
    }

    public void setCltype(Integer cltype) {
        this.cltype = cltype;
    }

    public Integer getClstatus() {
        return clstatus;
    }

    public void setClstatus(Integer clstatus) {
        this.clstatus = clstatus;
    }

    public Date getClregisterdate() {
        return clregisterdate;
    }

    public void setClregisterdate(Date clregisterdate) {
        this.clregisterdate = clregisterdate;
    }

    public Staff getStaff() {
		return staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public String getClremark() {
        return clremark;
    }

    public void setClremark(String clremark) {
        this.clremark = clremark == null ? null : clremark.trim();
    }

	public Member getMeber() {
		return meber;
	}

	public void setMeber(Member meber) {
		this.meber = meber;
	}
    
    
}